package com.rimi.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("处方类")
public class Prescription {

  private Appointment appointment;

  private Doctor doctor;

  private Pets pets;

  private PreMed preMed;

  private Medicinal medicinal;

  @ApiModelProperty("处方单号")
  private Integer prescriptionId;

  @ApiModelProperty("用户ID")
  private Integer userId;

  @ApiModelProperty("医生ID")
  private Integer doctorId;

  @ApiModelProperty("就诊时间")
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date prescriptionDate;

  @ApiModelProperty("医生诊断")
  private String doctorDiagnosis;

  @ApiModelProperty("宠物ID")
  private Integer petsId;

  @ApiModelProperty("总价")
  private Double allPrice;

  @ApiModelProperty("处方记录用户是否可见 0：不可见 1：可见")
  private String state;

  @ApiModelProperty("取药状态 0：未取药 1：已取药")
  private String visitStatus;

}
